package com.zsrt.day20161011;

public class DoChange {
		public static void main(String[] args) {
	            int left = 9;
	            int right = 8;
	            int a = 0;
	            System.out.println("比较前的值:");
	            System.out.println("left :"+left+"  right :"+right);
	            if(right>left){
	            	a = left;
	            	left = right;
	            	right = a;
	            	System.out.println("比较后的值:");
	            	System.out.println("left :"+left+"  right :"+right);
	            }else{
	            	System.out.println("left :"+left+"  right :"+right);
	            }
	            
		}
	}

